package com.ruoyi.basedata.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseDO;
import lombok.Data;

import java.util.List;

/**
 * 区域对象 t_areas
 * 
 * @author ruoyi
 * @date 2023-09-06
 */
@Data
@TableName("t_areas")
public class DwAreas extends BaseDO
{
    private static final long serialVersionUID = 1L;

    /** 租户ID */
    @Excel(name = "租户ID")
    private String tenant_id;

    @TableId
    /** 平台表单自增主键 */
    private Long ID;

    /** 区域名称 */
    @Excel(name = "区域名称")
    private String AreaName;

    /** 区域编码 */
    @Excel(name = "区域编码")
    private String AreaCode;

    /** 区域地址 */
    @Excel(name = "区域地址")
    private String Area_add;

    /** 区域描述 */
    @Excel(name = "区域描述")
    private String Details;

    /** 经度 */
    @Excel(name = "经度")
    private String lng;

    /** 纬度 */
    @Excel(name = "纬度")
    private String lat;


    /** 经纬度 */
    @Excel(name = "经纬度")
    private String Locate;

    private Long parentId;

    private String Remark;

    @TableLogic
    private Integer DeleteMark;

    @TableField(exist = false)
    private List<DwAreas> children;
    @TableField(exist = false)
    private List<LouDong> louDongs;

    @TableField(exist = false)
    private List<Concentrator> concentrators;

    @TableField(exist = false)
    private Integer treeType = 1;

}
